<template>
	<view class="pay-success">
		<view class="success-text">恭喜您支付成功</view>
		<view class="return-index" @click="goIndex">返回首页</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goIndex(){
				uni.switchTab({
					url:'/pages/index/index'
				})
			}
		}
	}
</script>

<style>
.pay-success{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.success-text{
	font-size: 40rpx;
	font-weight: bold;
	color: #636263;
}
.return-index{
	padding: 10rpx 60rpx;
	border: 2rpx solid #49BDFB;
	border-radius: 40rpx;
}
</style>
